﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Rec_CustommersCollection : List<Rec_Custommers>
    { 
         public int IndexOf(Rec_Custommers item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Rec_Custommers item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Rec_Custommers this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Rec_Custommers item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Rec_Custommers item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Rec_Custommers[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Rec_Custommers item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Rec_Custommers> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Rec_Custommers
    {
        private int _IdCustommer;

        public int IdCustommer
        {
            get { return _IdCustommer; }
            set { _IdCustommer = value; }
        }
        private string _CustommerCode;

        public string CustommerCode
        {
            get { return _CustommerCode; }
            set { _CustommerCode = value; }
        }
        private int _IdCustommerType;

        public int IdCustommerType
        {
            get { return _IdCustommerType; }
            set { _IdCustommerType = value; }
        }
        private int _SttRec;

        public int SttRec
        {
            get { return _SttRec; }
            set { _SttRec = value; }
        }
        private string _CustommerName;

        public string CustommerName
        {
            get { return _CustommerName; }
            set { _CustommerName = value; }
        }
        private Boolean _Sex;

        public Boolean Sex
        {
            get { return _Sex; }
            set { _Sex = value; }
        }
        private string _PersonCardID;

        public string PersonCardID
        {
            get { return _PersonCardID; }
            set { _PersonCardID = value; }
        }
        private string _Passport;

        public string Passport
        {
            get { return _Passport; }
            set { _Passport = value; }
        }
        private Int16 _Age;

        public Int16 Age
        {
            get { return _Age; }
            set { _Age = value; }
        }
        private string _Address;

        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }
        private string _Tel;

        public string Tel
        {
            get { return _Tel; }
            set { _Tel = value; }
        }
        private string _Fax;

        public string Fax
        {
            get { return _Fax; }
            set { _Fax = value; }
        }
        private string _Account;

        public string Account
        {
            get { return _Account; }
            set { _Account = value; }
        }
        private string _Bank;

        public string Bank
        {
            get { return _Bank; }
            set { _Bank = value; }
        }
        private string _TaxCode;

        public string TaxCode
        {
            get { return _TaxCode; }
            set { _TaxCode = value; }
        }
        private string _Email;

        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
        private string _Company;

        public string Company
        {
            get { return _Company; }
            set { _Company = value; }
        }
        private string _Note;

        public string Note
        {
            get { return _Note; }
            set { _Note = value; }
        }
        private DateTime _CreateDate;

        public DateTime CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }
        private DateTime _UpdateDate;

        public DateTime UpdateDate
        {
            get { return _UpdateDate; }
            set { _UpdateDate = value; }
        }
        private int _CreateBy;

        public int CreateBy
        {
            get { return _CreateBy; }
            set { _CreateBy = value; }
        }
        private int _UpdateBy;

        public int UpdateBy
        {
            get { return _UpdateBy; }
            set { _UpdateBy = value; }
        }
        private Boolean _Status;

        public Boolean Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
        private Boolean _New;

        public Boolean New
        {
            get { return _New; }
            set { _New = value; }
        }
    }
}
